
var ajax = false;
window.onload = initAll;


function initAll()
{
	if(window.XMLHttpRequest)
	{
		ajax = new XMLHttpRequest();
	}
	else if(window.ActivateXObject)
	{
		try
		{
			ajax = new ActivateXObject("Msxml12.XMLHTTP");
		}
		catch (e) 
		{
			ajax = new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	
	if(!ajax)
		alert("Problem configuring the page");
	
}	